import request from '@/utils/request'

// 查询合同--调价列表
export function infoList(query) {
  return request({
    url: '/service/contract/info/list',
    method: 'get',
    params: query
  })
}

// 取消调价
export function infoCancel(query) {
  return request({
    url: '/service/contract/info/cancel',
    method: 'put',
    params: query
  })
}

// 新增合同--调价
export function addContractInfo(data) {
  return request({
    url: '/service/contract/info',
    method: 'post',
    data: data
  })
}


// 修改合同--调价
export function updateContractInfo(data) {
    return request({
      url: '/service/contract/info',
      method: 'put',
      data: data
    })
  }